package com.bluedot.www.core.pojo.VO;

import java.io.Serializable;
import java.sql.Date;

/**
 * <p>
 * 权限视图实体，用于查询用户拥有的权限
 * </p>
 *
 * @author zhouxuan
 * @since 2021-08-07
 */
public class ViewRoleRightInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限URL
     */
    private String url;

    /**
     * 权限状态，0：表示开启，1：表示关闭
     */
    private Boolean status;

    /**
     * 权限描述
     */
    private String description;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 权限id
     */
    private Long rightId;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 权限名称
     */
    private String rightName;

    /**
     * 修改时间
     */
    private Date gmtModified;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Long getRightId() {
        return rightId;
    }

    public void setRightId(Long rightId) {
        this.rightId = rightId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRightName() {
        return rightName;
    }

    public void setRightName(String rightName) {
        this.rightName = rightName;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "ViewRoleRightInfo{" +
                "url=" + url +
                ", status=" + status +
                ", description=" + description +
                ", roleName=" + roleName +
                ", rightId=" + rightId +
                ", roleId=" + roleId +
                ", rightName=" + rightName +
                ", gmtModified=" + gmtModified +
                "}";
    }
}
